Complexity analysis of Polynomial Factorization

نویسندگان

  • Mark van Hoeij
  • Andrew Novocin
  • William Hart
چکیده

We present a comprehensive complexity analysis of an e cient algorithm for polynomial factorization in Z[x]. ? Supported by NSF 0728853 Complexity of Factoring A. Novocin, M. van Hoeij, W. Hart 1 This document is a work in progress. The central problem we address is the factorization of a square-free and monic polynomial in Z[x]. Forgoing for the moment any introduction to the method or explanation of the reasoning we present the algorithm essentially as we have implemented it in FLINT. We have a couple notations,M refers to the fullM which may or may not be virtual depending on the boolean virtual (if it is virtual then pertinent data is in M and G). Also we'll use ba/be to refer to rounding but not into Z but rather Z/2r. Algorithm 1 The main algorithm Input: Square-free, monic, polynomial f ∈ Z[x] of degree N Output: The irreducible factors of f over Z 1. Choose a prime, p, such that gcd(f, f ′) ≡ 1 modulo p. 2. Modular Factorization: Factor f modulo p ≡ f1 · · · fr. 3. if r ≤ Zbound := 15 return Zassenhaus(f) 4. Compute rst target precision a with Algorithm 5 5. until solved: (a) Hensel Lifting: Hensel lift f1 · · · fr to precision pa. (b) Recombination: Algorithm 2(f, f1, . . . , fr, p a) (c) if not solved: a := 2a Algorithm 2 Attempt Reconstruction Input: f , f1, . . . , fr the lifted factors, their precision p a, and possibly M ∈ Zs×(r+c). Output: If solved then the irreducible factors of f over Z otherwise an updated M . 1. If this is the rst call let M := Ir×r 2. Choose a k heuristically (see below for details) 3. For j ∈ {0, . . . , k − 1, N − k − 1, . . . , N − 1} do: (a) Compute CLD bound, Xj , for x j using Algorithm 4 (b) If √ (Ebound := 1.6r)·Xj ≤ pa/2(`:=1.5)r then compute new column vector xj := (x1,j , . . . , xr,j) where xi,j is the coe cient of x j in f · f ′ i/fi 4. For each computed xj do: (a) justified:= True; While justified is True do: i. Decide if LLL is justi ed using Algorithm 3 which augments M ii. If justified then: if virtual run G-LLL(M,G) else run LLL(M) both with parameters δ = .99, η = .51 iii. Compute G-S lengths of rows of M iv. Decrease the number of rows ofM until the nal Gram-Schmidt norm≤ √ (B(r) := r + 2) v. Use Algorithm 6 to test if solved Algorithm 3 Decide if column is worth calling LLL Input: M ∈ Zs×(r+c), data vector xj, pa, Xj the CLD bound for xj, boolean virtual Output: A potentially updated M and/or G and a boolean justified, and boolean virtual 1. Let B := r + 2 and s be the number of rows of M 2. If pa < Xj ·B · √ (Ebound = 1.6r2) · 2(`=1.5)r justified := False and exit 3. Find U the rst r columns of M 4. Compute yj := U · xj 2 Hart, Hoeij, and Novocin 5. If ‖ yj ‖∞< Xj ·B · √ (Ebound = 1.6r2) · 2(NoVecbound:=.937r−.1) then justified := False and exit 6. Find new column scaling k := dlog2 ( pa 2(`=1.5)r )e. 7. Embed xj/2 k and pa/2k into Z/2r by rounding and denote results as x̃j and P̃ 8. Compute ỹj := U · x̃j 9. If P̃− √ B(r) ‖ỹj‖∞ > √ B(r)( ∑s−1 i=0 (1 + η) i) then:

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

New Bases for Polynomial-Based Spaces

Since it is well-known that the Vandermonde matrix is ill-conditioned, while the interpolation itself is not unstable in function space, this paper surveys the choices of other new bases. These bases are data-dependent and are categorized into discretely l2-orthonormal and continuously L2-orthonormal bases. The first one construct a unitary Gramian matrix in the space l2(X) while the late...

متن کامل

On the Complexity of Noncommutative Polynomial Factorization

In this paper we study the complexity of factorization of polynomials in the free noncommutative ring F〈x1, x2, . . . , xn〉 of polynomials over the field F and noncommuting variables x1, x2, . . . , xn. Our main results are the following: • Although F〈x1, . . . , xn〉 is not a unique factorization ring, we note that variabledisjoint factorization in F〈x1, . . . , xn〉 has the uniqueness property....

متن کامل

Polynomial Factorization over Finite Fields By Computing Euler-Poincare Characteristics of Drinfeld Modules

We propose and rigorously analyze two randomized algorithms to factor univariate polynomials over finite fields using rank 2 Drinfeld modules. The first algorithm estimates the degree of an irreducible factor of a polynomial from Euler-Poincare characteristics of random Drinfeld modules. Knowledge of a factor degree allows one to rapidly extract all factors of that degree. As a consequence, the...

متن کامل

The complexity of factoring univariate polynomials over the rationals

This tutorial will explain the algorithm behind the currently fastest implementations for univariate factorization over the rationals. The complexity will be analyzed; it turns out that modifications were needed in order to prove a polynomial time complexity while preserving the best practical performance. The complexity analysis leads to two results: (1) it shows that the practical performance...

متن کامل

Lifting and recombination techniques for absolute factorization

In the vein of recent algorithmic advances in polynomial factorization based on lifting and recombination techniques, we present new faster algorithms for computing the absolute factorization of a bivariate polynomial. The running time of our probabilistic algorithm is less than quadratic in the dense size of the polynomial to be factored.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011